$(document).ready(function() {
	var options = {"showAnim":"slideDown",showOn: "both", dateFormat: "yy-mm-dd",
		buttonImage: web_url+"/static/images/calendar_icon.png", buttonImageOnly: true};
	$(".input_date").datepicker(options);
	var options = {"showAnim":"slideDown",showOn: "both", dateFormat: "yy-mm-dd hh:ii",
		buttonImage: web_url+"/static/images/calendar_icon.png", buttonImageOnly: true};
	$(".input_datetime").datepicker(options);
	if($("#my_tabs").length > 0) {
		selectedtab = $('#my_tabs #selectedtab').val();
		$("#my_tabs").tabs({selected:selectedtab});
	}
	if($("#menu").length > 0) {
		$("#menu").accordion({
			autoHeight: false,
			collapsible: true
		});
		if(indexMenu) {
			$("#menu").accordion("activate", indexMenu);
		}
	}
});
